Five Issues with std::expected and How to Fix Them - Vitaly Fanaskov - NDC TechTown 2025

youtube
Five Issues with std::expected and How to Fix Them - Vitaly Fanaskov - NDC TechTown 2025 This talk was recorded at NDC TechTown in Kongsberg, Norway. #ndctechtown #ndcconferences #developer #softwaredeveloper Attend the next NDC conference near you: Subscribe to our YouTube channel and learn every day: / @NDC Follow our Social Media! #cplusplus std::expected is a powerful abstraction for error handling and chaining computations introduced in the C++ 23 standard. Even though this abstraction is relatively new in the C++ ecosystem, it already has several issues, particularly when used as the primary error-handling mechanism in large code bases. This talk will focus on the most significant practical challenges faced when working with std::expected, providing insights into common pitfalls and offering potential solutions. While some of these challenges are addressed in separate libraries, others are not. Much of the functionality discussed in this talk is not available in the standard library. However, I’ll demonstrate real-world code samples and point to open-source helper utilities that address some of these gaps. This talk will be useful for software engineers looking to understand the limitations of std::expected, explore possible workarounds, and even contribute to the evolution of this abstraction by submitting proposals for future improvements. Preliminary outline 1. Briefly about std::expected 2. Issue #1: The same type of error and value are allowed 3. Issue #2: A can of worms: having monadic and regular interface altogether 4. Iss
  2026/01/02      youtube

Our Tag

最近投稿されたプログラミング学習動画

Most Asked SQL Interview Questions and Answers 2026 | SQL Interview Pr

sql

✅ Subscribe to our Channel to learn more...

  2026/03/14

Machine Learning With Python Full Course 2026 | Python Machine Learnin

python
study

🔥Microsoft AI Engineer Program - 🔥Part...

  2026/03/14

Deep Learning Engineer Salary 2026 | How Much A Deep Learning Engineer

study
deep learning

🔥Generative AI, Machine Learning, And In...

  2026/03/14

LangChain Tutorial For Beginners 2026 | LangChain Crash Course | LangC

🔥Applied Generative AI Specialization - ...

  2026/03/14

🔥CloudOps Engineer Roadmap | How to become CloudOps Engineer in 2026

cloud

Are you ready to dive into the world of ...

  2026/03/14

Genuine Simplilearn Review 2026 by Cybersecurity Professional- Arpan S

RPA
Security

When researching online programs, many p...

  2026/03/14

AWS and Cerebras are teaming up to build the fastest possible AI infer

Amazon

AWS and Cerebras announced a collaborati...

  2026/03/13

How Audi Uses AI to Transform Automotive Manufacturing at Scale | Amaz

Amazon

Discover how Audi AG worked with AWS to ...

  2026/03/13

How Storyblok Powers Modern Digital Experiences on AWS | Amazon Web Se

Amazon

Storyblok delivers modern digital experi...

  2026/03/13

If you develop for Android, you’re ready to build for glasses. 👓

android
android

Jetpack Compose Glimmer is here to help ...

  2026/03/13

Preparation Station: Utilizing TOURCAST | Amazon Web Services

Amazon

In Episode 1 of this 4-part series, @ama...

  2026/03/13

Data Science Full Course - Learn Data Science in 12 Hours | Data Scien

🔥Integrated MS+PGP Program in Data Scien...

  2026/03/13

BMW Group powers 3D car visualization with AWS spatial computing | Ama

Amazon

BMW Group's Design and Virtual Product E...

  2026/03/13

How Snowplow Powers Context-Aware AI with Real-Time Behavioral Data on

Amazon

LLMs alone can't deliver relevant custom...

  2026/03/13

PyCon JP TV #62: PyCon JP 2026の共同座長の座談会

Google

PyCon JP Associationが主催するYouTubeライブです。実験...

  2026/03/13

“We’ll make the deadline somehow!” 🫠

Little do you know that you’re the “some...

  2026/03/13